import request from '@/utils/request'

const StorageArea = {
  // 仓库列表
  listStorageArea(data) {
    return request({
      url: 'StorageArea/listStorageArea',
      method: 'post',
      data
    })
  },
  // 新增修改仓库
  addStorageArea(data) {
    return request({
      url: 'StorageArea/addStorageArea',
      method: 'post',
      data
    })
  },
  // 删除仓库
  delStorageArea(data) {
    return request({
      url: 'StorageArea/delStorageArea',
      method: 'post',
      data
    })
  },
  // 单个仓库详情
  getStorageArea(data) {
    return request({
      url: 'StorageArea/getStorageArea',
      method: 'post',
      data
    })
  }

}
export { StorageArea }
